﻿using Cl.Entity.BaseEntity;
using SqlSugar;

namespace Cl.Entity.DataBaseEntity.User
{
    [SugarTable("User_UserHistory")]
    public class UserHistory : EntityBase
    {

        public int UserId { get; set; }


        /// <summary>
        /// 变化内容
        /// </summary>
        [SugarColumn(ColumnDataType = "Nvarchar(500)")]
        public string ChangesContext { get; set; } = string.Empty;

        /// <summary>
        /// 旧的内容
        /// </summary>
        [SugarColumn(ColumnDataType = "Nvarchar(2000)")]
        public string OldValue { get; set; } = string.Empty;

        /// <summary>
        /// 新的内容
        /// </summary>
        [SugarColumn(ColumnDataType = "Nvarchar(2000)")]
        public string NewValue { get; set; } = string.Empty;





    }
}
